Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 5.002
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder πŸ“Š

Name Status Type Time(s)
Collects nodes in ReferenceHolder πŸ”— Success 0.007
Accumulates data across multiple node types πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Factory Methods πŸ“Š

Name Status Type Time(s)
with(ReferenceHolder) creates builder πŸ”— Success 0.001
with(ReferenceHolder, Set) creates builder with custom node set πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining πŸ“Š

Name Status Type Time(s)
Multiple visitors can be chained πŸ”— Success 0.002
Builder returns itself for chaining πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onAssignment() πŸ“Š

Name Status Type Time(s)
Finds assignments πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement() πŸ“Š

Name Status Type Time(s)
Finds enhanced for loops πŸ”— Success 0.001
Provides access to loop variable πŸ”— Success 0.004
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onIfStatement() πŸ“Š

Name Status Type Time(s)
Finds if statements πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration() πŸ“Š

Name Status Type Time(s)
Finds all method declarations πŸ”— Success 0.004
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation() πŸ“Š

Name Status Type Time(s)
Filters by method name πŸ”— Success 0.004
Finds all method invocations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement() πŸ“Š

Name Status Type Time(s)
Finds return statements πŸ”— Success 0.004
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration() πŸ“Š

Name Status Type Time(s)
Finds type declarations πŸ”— Success 0.003
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment() πŸ“Š

Name Status Type Time(s)
Finds variable declarations πŸ”— Success 0.002
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests processor() Access πŸ“Š

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase ExpressionHelper Tests createNegatedExpression() πŸ“Š

Name Status Type Time(s)
Negates simple name without parentheses πŸ”— Success 0.002
null AST throws exception πŸ”— Success 0.001
Negates infix expression with parentheses πŸ”— Success 0.000
null condition throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests isIdentityMapping() πŸ“Š

Name Status Type Time(s)
SimpleName not matching varName is not identity πŸ”— Success 0.000
SimpleName matching varName is identity πŸ”— Success 0.002
InfixExpression is not identity πŸ”— Success 0.000
null varName returns false πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests isNegatedExpression() πŸ“Š

Name Status Type Time(s)
SimpleName is not negated πŸ”— Success 0.000
PrefixExpression with MINUS is not negated πŸ”— Success 0.001
PrefixExpression with NOT is negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests needsParentheses() πŸ“Š

Name Status Type Time(s)
SimpleName does not need parentheses πŸ”— Success 0.001
InfixExpression needs parentheses πŸ”— Success 0.000
null input throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests stripNegation() πŸ“Š

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT πŸ”— Success 0.000
Returns original if not negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw πŸ”— Success 0.003
Collect annotations using collect() method πŸ”— Success 0.010
Find @SuppressWarnings annotations (SingleMemberAnnotation) πŸ”— Success 0.008
Find @Override annotations πŸ”— Success 0.012
Find @Deprecated annotations by fully qualified name πŸ”— Success 0.009
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type πŸ”— Success 0.009
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find static imports πŸ”— Success 0.017
Find regular imports πŸ”— Success 0.034
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find single method call πŸ”— Success 0.012
Collect method calls using collect() πŸ”— Success 0.007
Find multiple method calls πŸ”— Success 0.010
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests πŸ“Š

Name Status Type Time(s)
Early termination when processor returns false πŸ”— Success 0.008
Excluding processed nodes πŸ”— Success 0.010
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests πŸ“Š

Name Status Type Time(s)
ReferenceHolder can be used to collect data πŸ”— Success 0.013
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests πŸ“Š

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder πŸ”— Success 0.024
ReferenceHolder is correctly populated in processEach and accessible afterwards πŸ”— Success 0.019
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 πŸ”— Success 0.013
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests πŸ“Š

Name Status Type Time(s)
collect() gathers all found nodes πŸ”— Success 0.033
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests πŸ“Š

Name Status Type Time(s)
forAnnotation skips already processed nodes πŸ”— Success 0.040
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly πŸ”— Success 0.016
forAnnotation with andImports also finds imports πŸ”— Success 0.008
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests πŸ“Š

Name Status Type Time(s)
forField with annotation finds FieldDeclaration πŸ”— Success 0.017
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests πŸ“Š

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly πŸ”— Success 0.015
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests πŸ“Š

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf πŸ”— Success 0.019
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly πŸ”— Success 0.032
Properties Β»

Back to top

TestCase LibStandardNames Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase LibStandardNames Tests Existing Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' πŸ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' πŸ”— Success 0.000
METHOD_LINE_SEPARATOR is 'lineSeparator' πŸ”— Success 0.001
FIELD_UTF8 is 'UTF_8' πŸ”— Success 0.000
METHOD_TOSTRING is 'toString' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names πŸ“Š

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' πŸ”— Success 0.001
JAVA_LANG_STRING is 'java.lang.String' πŸ”— Success 0.001
JAVA_LANG_MATH is 'java.lang.Math' πŸ”— Success 0.000
JAVA_LANG_LONG is 'java.lang.Long' πŸ”— Success 0.001
JAVA_LANG_INTEGER is 'java.lang.Integer' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Math Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_CONCAT is 'concat' πŸ”— Success 0.000
METHOD_SUM is 'sum' πŸ”— Success 0.001
METHOD_MIN is 'min' πŸ”— Success 0.000
METHOD_MAX is 'max' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase LibStandardNames Tests Stream API Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_STREAM is 'stream' πŸ”— Success 0.001
METHOD_FOREACH is 'forEach' πŸ”— Success 0.004
METHOD_REDUCE is 'reduce' πŸ”— Success 0.000
METHOD_ANY_MATCH is 'anyMatch' πŸ”— Success 0.001
METHOD_NONE_MATCH is 'noneMatch' πŸ”— Success 0.000
METHOD_FILTER is 'filter' πŸ”— Success 0.003
METHOD_MAP is 'map' πŸ”— Success 0.002
METHOD_ALL_MATCH is 'allMatch' πŸ”— Success 0.000
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase NodeMatcher Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase NodeMatcher Tests Chaining and State Management πŸ“Š

Name Status Type Time(s)
Chaining stops after first match πŸ”— Success 0.006
isHandled() returns true after match πŸ”— Success 0.004
Properties Β»

Back to top

TestCase NodeMatcher Tests Expression Type Matchers πŸ“Š

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement πŸ”— Success 0.007
ifPrefixExpression matches PrefixExpression πŸ”— Success 0.006
ifMethodInvocation matches MethodInvocation πŸ”— Success 0.006
ifSimpleName matches SimpleName πŸ”— Success 0.006
ifAssignmentWithOperator matches specific operator πŸ”— Success 0.006
ifPostfixIncrementOrDecrement matches increment πŸ”— Success 0.007
ifAssignment matches Assignment πŸ”— Success 0.006
ifMethodInvocationNamed matches by method name πŸ”— Success 0.006
ifPostfixExpression matches PostfixExpression πŸ”— Success 0.005
Properties Β»

Back to top

TestCase NodeMatcher Tests Factory Methods πŸ“Š

Name Status Type Time(s)
isHandled() returns false initially πŸ”— Success 0.004
on() creates NodeMatcher instance πŸ”— Success 0.004
Properties Β»

Back to top

TestCase NodeMatcher Tests Generic Type Matchers πŸ“Š

Name Status Type Time(s)
ifTypeMatching with predicate πŸ”— Success 0.005
ifType matches by class type πŸ”— Success 0.005
Properties Β»

Back to top

TestCase NodeMatcher Tests Statement Type Matchers πŸ“Š

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement πŸ”— Success 0.007
ifReturnStatement matches ReturnStatement πŸ”— Success 0.005
ifIfStatementWithElse matches if with else πŸ”— Success 0.008
ifVariableDeclaration matches VariableDeclarationStatement πŸ”— Success 0.018
ifContinueStatement matches ContinueStatement πŸ”— Success 0.030
ifIfStatement matches IfStatement πŸ”— Success 0.010
ifBlock matches Block πŸ”— Success 0.018
ifExpressionStatement matches ExpressionStatement πŸ”— Success 0.014
ifBreakStatement matches BreakStatement πŸ”— Success 0.008
ifVariableDeclarationMatching with predicate πŸ”— Success 0.012
ifIfStatementWithoutElse matches if without else πŸ”— Success 0.009
Properties Β»

Back to top

TestCase NodeMatcher Tests Terminal Operations πŸ“Š

Name Status Type Time(s)
orElse does not execute when already handled πŸ”— Success 0.007
orElse executes when no matcher handled πŸ”— Success 0.008
orElseGet returns empty when already handled πŸ”— Success 0.008
orElseGet returns Optional when not handled πŸ”— Success 0.014
orElseDo executes runnable when not handled πŸ”— Success 0.009
Properties Β»

Back to top

TestCase NodeMatcher Tests Utility Methods πŸ“Š

Name Status Type Time(s)
isControlFlowStatement returns true for throw πŸ”— Success 0.007
isControlFlowStatement returns true for continue πŸ”— Success 0.006
getExpression returns Optional with expression πŸ”— Success 0.011
getAssignment returns empty for non-assignment πŸ”— Success 0.009
getAssignment returns Optional with assignment πŸ”— Success 0.006
isAssignmentStatement returns false for non-assignment πŸ”— Success 0.008
isControlFlowStatement returns true for return πŸ”— Success 0.006
isAssignmentStatement returns true for assignment πŸ”— Success 0.008
isControlFlowStatement returns true for break πŸ”— Success 0.010
isControlFlowStatement returns false for variable declaration πŸ”— Success 0.008
getExpression returns empty for non-expression statement πŸ”— Success 0.009
Properties Β»

Back to top

TestCase StatementContext Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase StatementContext Tests Conditional Helpers πŸ“Š

Name Status Type Time(s)
ifFirst executes for first statement πŸ”— Success 0.049
ifLast executes for last statement πŸ”— Success 0.015
ifNotLast executes for non-last statement πŸ”— Success 0.010
ifLast does not execute for non-last statement πŸ”— Success 0.009
ifOnly executes for only statement πŸ”— Success 0.006
Properties Β»

Back to top

TestCase StatementContext Tests Edge Cases πŸ“Š

Name Status Type Time(s)
Context chaining with ifLast πŸ”— Success 0.014
getRemainingCount is zero for last statement πŸ”— Success 0.014
Single statement is first, last, and only πŸ”— Success 0.005
Properties Β»

Back to top

TestCase StatementContext Tests Factory Methods πŸ“Š

Name Status Type Time(s)
processBlock allows early termination πŸ”— Success 0.009
forSingle creates context for single statement πŸ”— Success 0.008
forEachInBlock processes all statements πŸ”— Success 0.011
processBlock returns empty when no match πŸ”— Success 0.008
forStatement creates context with position info πŸ”— Success 0.006
Properties Β»

Back to top

TestCase StatementContext Tests List Operations πŸ“Š

Name Status Type Time(s)
getRemainingStatements returns empty for last statement πŸ”— Success 0.006
getPrecedingStatements returns statements before current πŸ”— Success 0.007
getRemainingStatements returns statements after current πŸ”— Success 0.007
getPrecedingStatements returns empty for first statement πŸ”— Success 0.009
Properties Β»

Back to top

TestCase StatementContext Tests Matcher Integration πŸ“Š

Name Status Type Time(s)
nextIs returns true for matching type πŸ”— Success 0.008
nextIs with predicate returns true when both match πŸ”— Success 0.045
nextMatches returns true when predicate matches πŸ”— Success 0.013
matcher returns NodeMatcher for statement πŸ”— Success 0.008
nextMatches returns false when predicate does not match πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests Navigation Methods πŸ“Š

Name Status Type Time(s)
getNextStatement returns next statement πŸ”— Success 0.008
getPreviousStatement returns previous statement πŸ”— Success 0.008
getPreviousStatement returns empty for first statement πŸ”— Success 0.008
getStatementAt returns empty for out of bounds πŸ”— Success 0.005
getNextStatement returns empty for last statement πŸ”— Success 0.009
getStatementAt returns statement at negative offset πŸ”— Success 0.007
getStatementAt returns statement at positive offset πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests Position Queries πŸ“Š

Name Status Type Time(s)
getRemainingCount returns correct count πŸ”— Success 0.008
isMiddle returns false for first statement πŸ”— Success 0.006
hasNext returns false for last statement πŸ”— Success 0.005
isOnly returns true for single statement πŸ”— Success 0.007
hasNext returns true when there are more statements πŸ”— Success 0.008
isLast returns true for last statement πŸ”— Success 0.006
isMiddle returns true for middle statement πŸ”— Success 0.004
isFirst returns false for non-first statement πŸ”— Success 0.007
isFirst returns true for first statement πŸ”— Success 0.005
hasPrevious returns true when there are previous statements πŸ”— Success 0.006
hasPrevious returns false for first statement πŸ”— Success 0.006
Properties Β»

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest πŸ“Š

Name Status Type Time(s)
testAnnotationPatternMatching πŸ”— Success 0.619
testNoMatchesForDifferentAnnotation πŸ”— Success 0.012
testAnnotationWithQualifiedType πŸ”— Success 0.026
testMultipleAnnotationMatches πŸ”— Success 0.008
testAnnotationWithPlaceholder πŸ”— Success 0.044
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest πŸ“Š

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck πŸ”— Success 0.007
testMultiPlaceholderMatchesZeroArguments πŸ”— Success 0.001
testMultiPlaceholderMatchesOneArgument πŸ”— Success 0.001
testMultiPlaceholderMatchesMultipleArguments πŸ”— Success 0.005
testMultiPlaceholderMatchesVariousArgumentTypes πŸ”— Success 0.008
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest πŸ“Š

Name Status Type Time(s)
testSimpleField πŸ”— Success 0.004
testFieldWithPlaceholderType πŸ”— Success 0.002
testSimpleMarkerAnnotation πŸ”— Success 0.005
testSimpleMethodCall πŸ”— Success 0.012
testSimpleImport πŸ”— Success 0.002
testMultipleImports πŸ”— Success 0.003
testFieldWithAnnotation πŸ”— Success 0.006
testMultipleAnnotationsOnSameElement πŸ”— Success 0.006
testMethodCallWithMultipleArguments πŸ”— Success 0.002
testAnnotationWithParameters πŸ”— Success 0.005
testMethodCallWithPlaceholderQualifier πŸ”— Success 0.005
testStaticImport πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest πŸ“Š

Name Status Type Time(s)
testParseSimpleExpression πŸ”— Success 0.007
testParsePlaceholderExpression πŸ”— Success 0.002
testParseMethodInvocation πŸ”— Success 0.001
testParseIfStatement πŸ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest πŸ“Š

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly πŸ”— Success 0.003
testMultipleSamePlaceholdersMustMatch πŸ”— Success 0.003
testDifferentPlaceholdersBindIndependently πŸ”— Success 0.002
testPlaceholderBinds πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest πŸ“Š

Name Status Type Time(s)
testMultipleSamePlaceholder πŸ”— Success 0.027
testNoMatchesFound πŸ”— Success 0.008
testFindSingleMatch πŸ”— Success 0.011
testStatementPattern πŸ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches πŸ”— Success 0.006
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest πŸ“Š

Name Status Type Time(s)
testAncestorNavigation πŸ”— Success 0.029
testAssignmentByOperator πŸ”— Success 0.004
testHierarchicalSearch πŸ”— Success 0.008
testInfixExpressionByOperator πŸ”— Success 0.011
testMethodDeclarationByName πŸ”— Success 0.000
testSingleVisitor πŸ”— Success 0.001
testCatchClauseByExceptionType πŸ”— Success 0.022
testFieldDeclarationByType πŸ”— Success 0.024
testClassInstanceCreationWithTypeAndNavigate πŸ”— Success 0.006
testMethodInvocationFiltering πŸ”— Success 0.001
testTypeDeclarationByName πŸ”— Success 0.005
testSuperMethodInvocationByName πŸ”— Success 0.016
testBasicChaining πŸ”— Success 0.001
testForStatementWithTypeFilter πŸ”— Success 0.025
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest πŸ“Š

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing πŸ”— Success 0.024
testCombiningVisitorsWithOr πŸ”— Success 0.001
testCombiningVisitorsWithAnd πŸ”— Success 0.005
testDynamicVisitorRemoval πŸ”— Success 0.002
testTrackingProcessedNodes πŸ”— Success 0.005
testNegateFilter πŸ”— Success 0.000
testStatefulVisitorBehavior πŸ”— Success 0.000
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest πŸ“Š

Name Status Type Time(s)
testMethodNameFiltering πŸ”— Success 0.005
testMethodNameFilteringTraditional πŸ”— Success 0.001
testTraditionalVisitorApproach πŸ”— Success 0.001
testLambdaExpression πŸ”— Success 0.003
testSkipChildNodes πŸ”— Success 0.003
testMultipleNodeTypes πŸ”— Success 0.001
testVisitEndCallback πŸ”— Success 0.001
testBasicMethodReference πŸ”— Success 0.004
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest πŸ“Š

Name Status Type Time(s)
matcherTest πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest πŸ“Š

Name Status Type Time(s)
testCountingWithStaticMethod πŸ”— Success 0.015
testComplexDataStructures πŸ”— Success 0.008
testCollectingNodePositions πŸ”— Success 0.001
testCountingNodes πŸ”— Success 0.010
testLazyInitialization πŸ”— Success 0.012
testSharedDataBetweenCallbacks πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest πŸ“Š

Name Status Type Time(s)
testCallbackSignatures πŸ”— Success 0.008
testBasicUsagePattern πŸ”— Success 0.001
testVisitEndCallbacks πŸ”— Success 0.005
testApiOverview πŸ”— Success 0.003
testDataSharingPatterns πŸ”— Success 0.004
testStaticHelperMethods πŸ”— Success 0.005
testVisitorRegistration πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest πŸ“Š

Name Status Type Time(s)
testNestedHierarchicalSearch πŸ”— Success 0.005
testFluentApiWithMethodFiltering πŸ”— Success 0.006
testMethodInvocationByType πŸ”— Success 0.001
testMultiPhaseProcessing πŸ”— Success 0.005
testSimpleFluentApi πŸ”— Success 0.001
testDynamicVisitorModification πŸ”— Success 0.004
testFluentApiWithNavigation πŸ”— Success 0.002
testComplexDataCollection πŸ”— Success 0.001
Properties Β»

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox